package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TTrainerAgreement;
import com.esyoga.yoyoga.pojo.TTrainerAgreementExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TTrainerAgreementMapper {
    long countByExample(TTrainerAgreementExample example);

    int deleteByExample(TTrainerAgreementExample example);

    int deleteByPrimaryKey(Integer taId);

    int insert(TTrainerAgreement record);

    int insertSelective(TTrainerAgreement record);

    List<TTrainerAgreement> selectByExample(TTrainerAgreementExample example);

    TTrainerAgreement selectByPrimaryKey(Integer taId);

    int updateByExampleSelective(@Param("record") TTrainerAgreement record, @Param("example") TTrainerAgreementExample example);

    int updateByExample(@Param("record") TTrainerAgreement record, @Param("example") TTrainerAgreementExample example);

    int updateByPrimaryKeySelective(TTrainerAgreement record);

    int updateByPrimaryKey(TTrainerAgreement record);
}